package com.dragon.modules.yuegou.query.coupon;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.coupon.CouponPackageTemplateEntity;
import com.dragon.modules.yuegou.enums.coupon.CouponPackageTemplateCheckedStatus;
import com.dragon.modules.yuegou.enums.coupon.CouponPackageTemplateOwnerType;
import com.dragon.modules.yuegou.enums.coupon.CouponPackageTemplateShelfStatus;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.time.LocalDateTime;

/**
 * 券包模板 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2019-02-28 18:30:17
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class CouponPackageTemplateQuery extends CouponPackageTemplateEntity implements Query<CouponPackageTemplateEntity> {

    /** 券包ID查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 者类型(所有者承担成本)查询条件 */
	@JsonUnwrapped(prefix = "ownerType")
	private Condition<CouponPackageTemplateOwnerType> ownerTypeCondition;

    /** 集团ID查询条件 */
	@JsonUnwrapped(prefix = "groupId")
	private Condition<String> groupIdCondition;

    /** 商圈ID查询条件 */
	@JsonUnwrapped(prefix = "businessDistrictId")
	private Condition<String> businessDistrictIdCondition;

    /** 商户ID查询条件 */
	@JsonUnwrapped(prefix = "merchantId")
	private Condition<String> merchantIdCondition;

    /** 券包名称查询条件 */
	@JsonUnwrapped(prefix = "title")
	private Condition<String> titleCondition;

    /** 发放个数查询条件 */
	@JsonUnwrapped(prefix = "num")
	private Condition<Integer> numCondition;

    /** 库存个数查询条件 */
	@JsonUnwrapped(prefix = "stock")
	private Condition<Integer> stockCondition;

    /** 券包说明查询条件 */
	@JsonUnwrapped(prefix = "description")
	private Condition<String> descriptionCondition;

    /** 备注查询条件 */
	@JsonUnwrapped(prefix = "remarks")
	private Condition<String> remarksCondition;

    /** 排序号查询条件 */
	@JsonUnwrapped(prefix = "sort")
	private Condition<Integer> sortCondition;

    /** 状态查询条件 */
	@JsonUnwrapped(prefix = "shelfStatus")
	private Condition<CouponPackageTemplateShelfStatus> shelfStatusCondition;

    /** 创建者查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 修改人查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 修改时间查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 是否删除（1：已删除，0：未删除）查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Boolean> delCondition;

    /** 删除人查询条件 */
	@JsonUnwrapped(prefix = "delBy")
	private Condition<String> delByCondition;

    /** 删除时间查询条件 */
	@JsonUnwrapped(prefix = "delTime")
	private Condition<LocalDateTime> delTimeCondition;

    /** 状态查询条件 */
	@JsonUnwrapped(prefix = "checkedStatus")
	private Condition<CouponPackageTemplateCheckedStatus> checkedStatusCondition;

    /** 审核人查询条件 */
	@JsonUnwrapped(prefix = "checkedBy")
	private Condition<String> checkedByCondition;

    /** 审核时间查询条件 */
	@JsonUnwrapped(prefix = "checkedTime")
	private Condition<LocalDateTime> checkedTimeCondition;

    /** 审核意见查询条件 */
	@JsonUnwrapped(prefix = "checkedRemark")
	private Condition<String> checkedRemarkCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public CouponPackageTemplateQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public CouponPackageTemplateQuery(CouponPackageTemplateEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public CouponPackageTemplateQuery(CouponPackageTemplateQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.ownerTypeCondition != null) {
			this.ownerTypeCondition = other.ownerTypeCondition.copy();
		}
		if(other.groupIdCondition != null) {
			this.groupIdCondition = other.groupIdCondition.copy();
		}
		if(other.businessDistrictIdCondition != null) {
			this.businessDistrictIdCondition = other.businessDistrictIdCondition.copy();
		}
		if(other.merchantIdCondition != null) {
			this.merchantIdCondition = other.merchantIdCondition.copy();
		}
		if(other.titleCondition != null) {
			this.titleCondition = other.titleCondition.copy();
		}
		if(other.numCondition != null) {
			this.numCondition = other.numCondition.copy();
		}
		if(other.stockCondition != null) {
			this.stockCondition = other.stockCondition.copy();
		}
		if(other.descriptionCondition != null) {
			this.descriptionCondition = other.descriptionCondition.copy();
		}
		if(other.remarksCondition != null) {
			this.remarksCondition = other.remarksCondition.copy();
		}
		if(other.sortCondition != null) {
			this.sortCondition = other.sortCondition.copy();
		}
		if(other.shelfStatusCondition != null) {
			this.shelfStatusCondition = other.shelfStatusCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(CouponPackageTemplateQuery other){
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.delByCondition != null) {
			this.delByCondition = other.delByCondition.copy();
		}
		if(other.delTimeCondition != null) {
			this.delTimeCondition = other.delTimeCondition.copy();
		}
		if(other.checkedStatusCondition != null) {
			this.checkedStatusCondition = other.checkedStatusCondition.copy();
		}
		if(other.checkedByCondition != null) {
			this.checkedByCondition = other.checkedByCondition.copy();
		}
		if(other.checkedTimeCondition != null) {
			this.checkedTimeCondition = other.checkedTimeCondition.copy();
		}
		if(other.checkedRemarkCondition != null) {
			this.checkedRemarkCondition = other.checkedRemarkCondition.copy();
		}
	}

	@Override
	public QueryWrapper<CouponPackageTemplateEntity> toQueryWrapper() {
		QueryWrapper<CouponPackageTemplateEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (ownerTypeCondition != null) {
			ownerTypeCondition.toWrapper(wrapper, COL_OWNER_TYPE);
		}
		if (groupIdCondition != null) {
			groupIdCondition.toWrapper(wrapper, COL_GROUP_ID);
		}
		if (businessDistrictIdCondition != null) {
			businessDistrictIdCondition.toWrapper(wrapper, COL_BUSINESS_DISTRICT_ID);
		}
		if (merchantIdCondition != null) {
			merchantIdCondition.toWrapper(wrapper, COL_MERCHANT_ID);
		}
		if (titleCondition != null) {
			titleCondition.toWrapper(wrapper, COL_TITLE);
		}
		if (numCondition != null) {
			numCondition.toWrapper(wrapper, COL_NUM);
		}
		if (stockCondition != null) {
			stockCondition.toWrapper(wrapper, COL_STOCK);
		}
		if (descriptionCondition != null) {
			descriptionCondition.toWrapper(wrapper, COL_DESCRIPTION);
		}
		if (remarksCondition != null) {
			remarksCondition.toWrapper(wrapper, COL_REMARKS);
		}
		if (sortCondition != null) {
			sortCondition.toWrapper(wrapper, COL_SORT);
		}
		if (shelfStatusCondition != null) {
			shelfStatusCondition.toWrapper(wrapper, COL_SHELF_STATUS);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		return getQueryWrapper(wrapper);
	}
	private QueryWrapper<CouponPackageTemplateEntity> getQueryWrapper(QueryWrapper<CouponPackageTemplateEntity> wrapper){
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		if (delByCondition != null) {
			delByCondition.toWrapper(wrapper, COL_DEL_BY);
		}
		if (delTimeCondition != null) {
			delTimeCondition.toWrapper(wrapper, COL_DEL_TIME);
		}
		if (checkedStatusCondition != null) {
			checkedStatusCondition.toWrapper(wrapper, COL_CHECKED_STATUS);
		}
		if (checkedByCondition != null) {
			checkedByCondition.toWrapper(wrapper, COL_CHECKED_BY);
		}
		if (checkedTimeCondition != null) {
			checkedTimeCondition.toWrapper(wrapper, COL_CHECKED_TIME);
		}
		if (checkedRemarkCondition != null) {
			checkedRemarkCondition.toWrapper(wrapper, COL_CHECKED_REMARK);
		}
		return wrapper;
	}

	/**
	 * 构造并返回券包ID查询条件
	 * 
	 * @return idCondition 券包ID查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取券包ID查询条件
	 * 
	 * @return idCondition 券包ID查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置券包ID查询条件
	 * 
	 * @param idCondition 券包ID查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回者类型(所有者承担成本)查询条件
	 * 
	 * @return ownerTypeCondition 者类型(所有者承担成本)查询条件
	 */
	public Condition<CouponPackageTemplateOwnerType> ownerType() {
		this.ownerTypeCondition = new Condition<>();
		return this.ownerTypeCondition;
	}
	
	/**
	 * 获取者类型(所有者承担成本)查询条件
	 * 
	 * @return ownerTypeCondition 者类型(所有者承担成本)查询条件
	 */
	public Condition<CouponPackageTemplateOwnerType> getOwnerTypeCondition() {
		return ownerTypeCondition;
	}

	/**
	 * 设置者类型(所有者承担成本)查询条件
	 * 
	 * @param ownerTypeCondition 者类型(所有者承担成本)查询条件
	 */
	public void setOwnerTypeCondition(Condition<CouponPackageTemplateOwnerType> ownerTypeCondition) {
		this.ownerTypeCondition = ownerTypeCondition;
	}

	/**
	 * 构造并返回集团ID查询条件
	 * 
	 * @return groupIdCondition 集团ID查询条件
	 */
	public Condition<String> groupId() {
		this.groupIdCondition = new Condition<>();
		return this.groupIdCondition;
	}
	
	/**
	 * 获取集团ID查询条件
	 * 
	 * @return groupIdCondition 集团ID查询条件
	 */
	public Condition<String> getGroupIdCondition() {
		return groupIdCondition;
	}

	/**
	 * 设置集团ID查询条件
	 * 
	 * @param groupIdCondition 集团ID查询条件
	 */
	public void setGroupIdCondition(Condition<String> groupIdCondition) {
		this.groupIdCondition = groupIdCondition;
	}

	/**
	 * 构造并返回商圈ID查询条件
	 * 
	 * @return businessDistrictIdCondition 商圈ID查询条件
	 */
	public Condition<String> businessDistrictId() {
		this.businessDistrictIdCondition = new Condition<>();
		return this.businessDistrictIdCondition;
	}
	
	/**
	 * 获取商圈ID查询条件
	 * 
	 * @return businessDistrictIdCondition 商圈ID查询条件
	 */
	public Condition<String> getBusinessDistrictIdCondition() {
		return businessDistrictIdCondition;
	}

	/**
	 * 设置商圈ID查询条件
	 * 
	 * @param businessDistrictIdCondition 商圈ID查询条件
	 */
	public void setBusinessDistrictIdCondition(Condition<String> businessDistrictIdCondition) {
		this.businessDistrictIdCondition = businessDistrictIdCondition;
	}

	/**
	 * 构造并返回商户ID查询条件
	 * 
	 * @return merchantIdCondition 商户ID查询条件
	 */
	public Condition<String> merchantId() {
		this.merchantIdCondition = new Condition<>();
		return this.merchantIdCondition;
	}
	
	/**
	 * 获取商户ID查询条件
	 * 
	 * @return merchantIdCondition 商户ID查询条件
	 */
	public Condition<String> getMerchantIdCondition() {
		return merchantIdCondition;
	}

	/**
	 * 设置商户ID查询条件
	 * 
	 * @param merchantIdCondition 商户ID查询条件
	 */
	public void setMerchantIdCondition(Condition<String> merchantIdCondition) {
		this.merchantIdCondition = merchantIdCondition;
	}

	/**
	 * 构造并返回券包名称查询条件
	 * 
	 * @return titleCondition 券包名称查询条件
	 */
	public Condition<String> title() {
		this.titleCondition = new Condition<>();
		return this.titleCondition;
	}
	
	/**
	 * 获取券包名称查询条件
	 * 
	 * @return titleCondition 券包名称查询条件
	 */
	public Condition<String> getTitleCondition() {
		return titleCondition;
	}

	/**
	 * 设置券包名称查询条件
	 * 
	 * @param titleCondition 券包名称查询条件
	 */
	public void setTitleCondition(Condition<String> titleCondition) {
		this.titleCondition = titleCondition;
	}

	/**
	 * 构造并返回发放个数查询条件
	 * 
	 * @return numCondition 发放个数查询条件
	 */
	public Condition<Integer> num() {
		this.numCondition = new Condition<>();
		return this.numCondition;
	}
	
	/**
	 * 获取发放个数查询条件
	 * 
	 * @return numCondition 发放个数查询条件
	 */
	public Condition<Integer> getNumCondition() {
		return numCondition;
	}

	/**
	 * 设置发放个数查询条件
	 * 
	 * @param numCondition 发放个数查询条件
	 */
	public void setNumCondition(Condition<Integer> numCondition) {
		this.numCondition = numCondition;
	}

	/**
	 * 构造并返回库存个数查询条件
	 * 
	 * @return stockCondition 库存个数查询条件
	 */
	public Condition<Integer> stock() {
		this.stockCondition = new Condition<>();
		return this.stockCondition;
	}
	
	/**
	 * 获取库存个数查询条件
	 * 
	 * @return stockCondition 库存个数查询条件
	 */
	public Condition<Integer> getStockCondition() {
		return stockCondition;
	}

	/**
	 * 设置库存个数查询条件
	 * 
	 * @param stockCondition 库存个数查询条件
	 */
	public void setStockCondition(Condition<Integer> stockCondition) {
		this.stockCondition = stockCondition;
	}

	/**
	 * 构造并返回券包说明查询条件
	 * 
	 * @return descriptionCondition 券包说明查询条件
	 */
	public Condition<String> description() {
		this.descriptionCondition = new Condition<>();
		return this.descriptionCondition;
	}
	
	/**
	 * 获取券包说明查询条件
	 * 
	 * @return descriptionCondition 券包说明查询条件
	 */
	public Condition<String> getDescriptionCondition() {
		return descriptionCondition;
	}

	/**
	 * 设置券包说明查询条件
	 * 
	 * @param descriptionCondition 券包说明查询条件
	 */
	public void setDescriptionCondition(Condition<String> descriptionCondition) {
		this.descriptionCondition = descriptionCondition;
	}

	/**
	 * 构造并返回备注查询条件
	 * 
	 * @return remarksCondition 备注查询条件
	 */
	public Condition<String> remarks() {
		this.remarksCondition = new Condition<>();
		return this.remarksCondition;
	}
	
	/**
	 * 获取备注查询条件
	 * 
	 * @return remarksCondition 备注查询条件
	 */
	public Condition<String> getRemarksCondition() {
		return remarksCondition;
	}

	/**
	 * 设置备注查询条件
	 * 
	 * @param remarksCondition 备注查询条件
	 */
	public void setRemarksCondition(Condition<String> remarksCondition) {
		this.remarksCondition = remarksCondition;
	}

	/**
	 * 构造并返回排序号查询条件
	 * 
	 * @return sortCondition 排序号查询条件
	 */
	public Condition<Integer> sort() {
		this.sortCondition = new Condition<>();
		return this.sortCondition;
	}
	
	/**
	 * 获取排序号查询条件
	 * 
	 * @return sortCondition 排序号查询条件
	 */
	public Condition<Integer> getSortCondition() {
		return sortCondition;
	}

	/**
	 * 设置排序号查询条件
	 * 
	 * @param sortCondition 排序号查询条件
	 */
	public void setSortCondition(Condition<Integer> sortCondition) {
		this.sortCondition = sortCondition;
	}

	/**
	 * 构造并返回状态查询条件
	 * 
	 * @return shelfStatusCondition 状态查询条件
	 */
	public Condition<CouponPackageTemplateShelfStatus> shelfStatus() {
		this.shelfStatusCondition = new Condition<>();
		return this.shelfStatusCondition;
	}
	
	/**
	 * 获取状态查询条件
	 * 
	 * @return shelfStatusCondition 状态查询条件
	 */
	public Condition<CouponPackageTemplateShelfStatus> getShelfStatusCondition() {
		return shelfStatusCondition;
	}

	/**
	 * 设置状态查询条件
	 * 
	 * @param shelfStatusCondition 状态查询条件
	 */
	public void setShelfStatusCondition(Condition<CouponPackageTemplateShelfStatus> shelfStatusCondition) {
		this.shelfStatusCondition = shelfStatusCondition;
	}

	/**
	 * 构造并返回创建者查询条件
	 * 
	 * @return createdByCondition 创建者查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建者查询条件
	 * 
	 * @return createdByCondition 创建者查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建者查询条件
	 * 
	 * @param createdByCondition 创建者查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回修改人查询条件
	 * 
	 * @return modifiedByCondition 修改人查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取修改人查询条件
	 * 
	 * @return modifiedByCondition 修改人查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置修改人查询条件
	 * 
	 * @param modifiedByCondition 修改人查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回修改时间查询条件
	 * 
	 * @return modifiedTimeCondition 修改时间查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取修改时间查询条件
	 * 
	 * @return modifiedTimeCondition 修改时间查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置修改时间查询条件
	 * 
	 * @param modifiedTimeCondition 修改时间查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回是否删除（1：已删除，0：未删除）查询条件
	 * 
	 * @return delCondition 是否删除（1：已删除，0：未删除）查询条件
	 */
	public Condition<Boolean> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取是否删除（1：已删除，0：未删除）查询条件
	 * 
	 * @return delCondition 是否删除（1：已删除，0：未删除）查询条件
	 */
	public Condition<Boolean> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置是否删除（1：已删除，0：未删除）查询条件
	 * 
	 * @param delCondition 是否删除（1：已删除，0：未删除）查询条件
	 */
	public void setDelCondition(Condition<Boolean> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回删除人查询条件
	 * 
	 * @return delByCondition 删除人查询条件
	 */
	public Condition<String> delBy() {
		this.delByCondition = new Condition<>();
		return this.delByCondition;
	}
	
	/**
	 * 获取删除人查询条件
	 * 
	 * @return delByCondition 删除人查询条件
	 */
	public Condition<String> getDelByCondition() {
		return delByCondition;
	}

	/**
	 * 设置删除人查询条件
	 * 
	 * @param delByCondition 删除人查询条件
	 */
	public void setDelByCondition(Condition<String> delByCondition) {
		this.delByCondition = delByCondition;
	}

	/**
	 * 构造并返回删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> delTime() {
		this.delTimeCondition = new Condition<>();
		return this.delTimeCondition;
	}
	
	/**
	 * 获取删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> getDelTimeCondition() {
		return delTimeCondition;
	}

	/**
	 * 设置删除时间查询条件
	 * 
	 * @param delTimeCondition 删除时间查询条件
	 */
	public void setDelTimeCondition(Condition<LocalDateTime> delTimeCondition) {
		this.delTimeCondition = delTimeCondition;
	}

	/**
	 * 构造并返回状态查询条件
	 * 
	 * @return checkedStatusCondition 状态查询条件
	 */
	public Condition<CouponPackageTemplateCheckedStatus> checkedStatus() {
		this.checkedStatusCondition = new Condition<>();
		return this.checkedStatusCondition;
	}
	
	/**
	 * 获取状态查询条件
	 * 
	 * @return checkedStatusCondition 状态查询条件
	 */
	public Condition<CouponPackageTemplateCheckedStatus> getCheckedStatusCondition() {
		return checkedStatusCondition;
	}

	/**
	 * 设置状态查询条件
	 * 
	 * @param checkedStatusCondition 状态查询条件
	 */
	public void setCheckedStatusCondition(Condition<CouponPackageTemplateCheckedStatus> checkedStatusCondition) {
		this.checkedStatusCondition = checkedStatusCondition;
	}

	/**
	 * 构造并返回审核人查询条件
	 * 
	 * @return checkedByCondition 审核人查询条件
	 */
	public Condition<String> checkedBy() {
		this.checkedByCondition = new Condition<>();
		return this.checkedByCondition;
	}
	
	/**
	 * 获取审核人查询条件
	 * 
	 * @return checkedByCondition 审核人查询条件
	 */
	public Condition<String> getCheckedByCondition() {
		return checkedByCondition;
	}

	/**
	 * 设置审核人查询条件
	 * 
	 * @param checkedByCondition 审核人查询条件
	 */
	public void setCheckedByCondition(Condition<String> checkedByCondition) {
		this.checkedByCondition = checkedByCondition;
	}

	/**
	 * 构造并返回审核时间查询条件
	 * 
	 * @return checkedTimeCondition 审核时间查询条件
	 */
	public Condition<LocalDateTime> checkedTime() {
		this.checkedTimeCondition = new Condition<>();
		return this.checkedTimeCondition;
	}
	
	/**
	 * 获取审核时间查询条件
	 * 
	 * @return checkedTimeCondition 审核时间查询条件
	 */
	public Condition<LocalDateTime> getCheckedTimeCondition() {
		return checkedTimeCondition;
	}

	/**
	 * 设置审核时间查询条件
	 * 
	 * @param checkedTimeCondition 审核时间查询条件
	 */
	public void setCheckedTimeCondition(Condition<LocalDateTime> checkedTimeCondition) {
		this.checkedTimeCondition = checkedTimeCondition;
	}

	/**
	 * 构造并返回审核意见查询条件
	 * 
	 * @return checkedRemarkCondition 审核意见查询条件
	 */
	public Condition<String> checkedRemark() {
		this.checkedRemarkCondition = new Condition<>();
		return this.checkedRemarkCondition;
	}
	
	/**
	 * 获取审核意见查询条件
	 * 
	 * @return checkedRemarkCondition 审核意见查询条件
	 */
	public Condition<String> getCheckedRemarkCondition() {
		return checkedRemarkCondition;
	}

	/**
	 * 设置审核意见查询条件
	 * 
	 * @param checkedRemarkCondition 审核意见查询条件
	 */
	public void setCheckedRemarkCondition(Condition<String> checkedRemarkCondition) {
		this.checkedRemarkCondition = checkedRemarkCondition;
	}

}
